
<?php
class NewWidget extends Widget{
	public function render($data){
       $limit=5;
       $order='time DESC';
       $data['new']=M('blog')->limit($limit)->order($order)->select();
     
       return $this->renderFile("",$data);
	}
}


?>